package com.rshang.rsdp.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
/**
 * <p>
 * 角色信息表
 * </p>
 *
 * @author zhangjun
 * @since 2017-08-10
 */
@TableName("TB_LOG")
public class TbLog extends Model<TbLog> {

    private static final long serialVersionUID = 1L;

    /**
     * 日志id
     */
    @TableId("LOG_ID")
	private String logId;
    /**
     * 日志事件名称
     */
	@TableField("LOG_NAME")
	private String logName;
    /**
     * 日志url地址
     */
	@TableField("LOG_URL")
	private String logUrl;
    /**
     * 日志ip地址
     */
	@TableField("LOG_ADDR")
	private String logAddr;
    /**
     * 日志内容
     */
	@TableField("LOG_CONT")
	private String logCont;
    /**
     * 操作用户
     */
	@TableField("LOG_USER")
	private String logUser;
    /**
     * 录入时间
     */
	@TableField("LRSJ")
	private Date lrsj;
	@TableField("LOG_DESC")
	private String logDesc;


	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public String getLogName() {
		return logName;
	}

	public void setLogName(String logName) {
		this.logName = logName;
	}

	public String getLogUrl() {
		return logUrl;
	}

	public void setLogUrl(String logUrl) {
		this.logUrl = logUrl;
	}

	public String getLogAddr() {
		return logAddr;
	}

	public void setLogAddr(String logAddr) {
		this.logAddr = logAddr;
	}

	public String getLogCont() {
		return logCont;
	}

	public void setLogCont(String logCont) {
		this.logCont = logCont;
	}

	public String getLogUser() {
		return logUser;
	}

	public void setLogUser(String logUser) {
		this.logUser = logUser;
	}

	public Date getLrsj() {
		return lrsj;
	}

	public void setLrsj(Date lrsj) {
		this.lrsj = lrsj;
	}

	public String getLogDesc() {
		return logDesc;
	}

	public void setLogDesc(String logDesc) {
		this.logDesc = logDesc;
	}

	@Override
	protected Serializable pkVal() {
		return this.logId;
	}

	@Override
	public String toString() {
		return "TbLog{" +
			"logId=" + logId +
			", logName=" + logName +
			", logUrl=" + logUrl +
			", logAddr=" + logAddr +
			", logCont=" + logCont +
			", logUser=" + logUser +
			", lrsj=" + lrsj +
			", logDesc=" + logDesc +
			"}";
	}
}
